/**
 * Created by Administrator on 2018/10/11.
 */
export default class Url {
  static URL_HOME = '/ssfk/homeV4'
  /**
   * 微信登录
   */
  static URL_MINI_LOGIN = '/c/api/v2/mini/login'
  /**
   * 短信验证码
   */
  static URL_USER_SENDVCODE = '/ssfk/user/sendVcode'
  /**
   * 小程序绑定手机号
   */
  static URL_MINI_BIND = '/c/api/v2/mini/bind'
  static URL_PRODUCTLIST = '/c/api/v1/product/search'  //商品列表
  static URL_SORTER = '/c/api/v1/product/sorts'  //排序
  static URL_FILTERS = '/c/api/v2/mini/product/filters'  //筛选条件
  static URL_PROMOTION = '/ssfk/promotion'  //活动信息


  static URL_PRODUCTDETAILS = '/c/api/v1/product/info'  //商品详情
  static URL_ADDCART = '/c/api/v2/cart/add'  //加入购物袋

  static URL_CART = '/c/api/v2/cart/list'  //购物袋列表
  static URL_CARTDEL = '/c/api/v2/cart/del'  //购物袋 删除商品
  static URL_CARADDQTY = '/c/api/v2/cart/add'  //购物袋 增减数量

  static URL_CHECKOUT = '/c/api/v2/order/settle'  //购物车 去收银台结算

  static URL_CREATE = '/c/api/v2/order/create'  //收银台结算  创建订单
  static URL_MINIPAY = '/c/api/v2/pay/wechat/mini'     //微信支付


  static URL_ADDRESSLIST = '/ssfk/user/getDeliveryAddress'  //收货地址列表
  static URL_MODIFYADDRESS = '/ssfk/user/modifyDeliveryAddress'  //收货地址  修改
  static URL_REMOVEADDRESS = '/ssfk/user/removeDeliveryAddress'  //收货地址  删除
  static URL_ADDRESS = '/ssfk/user/addDeliveryAddress'  //收货地址  新增
  static URL_GETADDRESS = '/ssfk/user/getDeliveryAddressById'  //收货地址  详情

  static URL_UPLOADIDCARD = '/ssfk/file/uploadIdcard'  //上传身份证

  /* 订单 */
  static URL_ORDERLISTS = '/ssfk/order/getOrderByStatus'     //订单列表
  static URL_ORDEREFUND = '/c/api/v2/order/refunds'     //订单退款列表
  static URL_REFUNDINFO = '/c/api/v2/order/refund/info'     //订单退款详情
  static URL_CANCEORDER = '/ssfk/order/cancelUnpaidOrder'  //取消订单
  static URL_ADDBATCH = '/c/api/v2/cart/batch'  //再次购买
  static URL_RECEIVEORDER = '/ssfk/order/receivedOrder'  //确定收货
  static URL_DETAILVER = '/ssfk/order/detailver2'  //订单详情
  static URL_ORDERTRACE = '/ssfk/order/getOrderTrace'  //订单跟踪

  static URL_USERBYID = '/ssfk/user/getUserById'  //个人中心
  static URL_COUPONSlIST = '/ssfk/user/getUserCoupons'  //优惠券列表
  static URL_COLLECTIONPRODUCTS = '/ssfk/product/getCollectionProducts'  //收藏商品
  static URL_DELCOLLECTIONPRODUCTS = '/ssfk/product/removeCollectionProduct'  //删除收藏商品

  static URL_MINIHOME = '/c/api/v2/mini/home'  //首页

  static URL_SEARCHPRODUCT = '/ssfk/product/countSearchProduct'  //搜索

  static URL_ADDCOLLECTIONPRODUCT = '/ssfk/product/addCollectionProduct'  //加入收藏
  static URL_REMOVECOLLECTIONPRODUCT = '/ssfk/product/removeCollectionProduct'  //取消收藏


  /**
   * 验证码登录
   */
  static URL_USER_FASTLOGIN = '/ssfk/user/fastlogin'
  /**
   * 账号登录
   */
  static URL_USER_LOGIN = '/ssfk/user/login'
  /**
   * 筛选条件
   */
  static URL_MINI_PRODUCT_FILTERS = '/c/api/v2/mini/product/filters'
  /**
   * 筛选条件（商品数量）
   */
  static URL_PRODUCT_COUNT = '/c/api/v1/product/count'
  /**
   * 首页数据
   */
  static URL_MINI_HOME = '/c/api/v2/mini/home'
  /**
   * 国家地区
   */
  static URL_GETCOUNTRYCODE = '/ssfk/global/getCountryCode'
  /**
   * 忘记密码
   */
  static URL_RESETUSERPASSWD = '/ssfk/user/resetUserPasswd'
  /**
   * 注册
   */
  static URL_REGISTER = '/ssfk/user/register'
  /**
   * 博主信息
   */
  static URL_BOLGGER_INFO = '/c/api/v1/promoter/info'

}
